const data=[
    {'id':1,'title':'电水壶','price':50.99,src:'/static/goods_pic/1.jpg'},
    {'id':2,'title':'电压力锅','price':150.99,src:'/static/goods_pic/2.jpg'},
    {'id':3,'title':'电饭煲','price':250.99,src:'/static/goods_pic/3.jpg'},
    {'id':4,'title':'电磁炉','price':350.99,src:'/static/goods_pic/4.jpg'},
    {'id':5,'title':'微波炉','price':450.99,src:'/static/goods_pic/5.jpg'},
    {'id':6,'title':'电饼档','price':250.99,src:'/static/goods_pic/6.jpg'},
    {'id':7,'title':'豆浆机','price':250.99,src:'/static/goods_pic/7.jpg'},
    {'id':8,'title':'多用途锅','price':150.99,src:'/static/goods_pic/8.jpg'}
]
export default{
    getGoodsList(callback){
        setTimeout(()=>{
            callback(data)
        },100);
    }
}